using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using BONSAI.Common;
using BONSAI.Common.DTO;
using BONSAI.DAL;

namespace BONSAI.BLL
{
	public class ShoppingCartBO
	{
		public ShoppingCartDTO GetByID(string id)
		{
			return (new ShoppingCartDAO()).GetByID(id);
		}

		public IList<ShoppingCartDTO> GetAll()
		{
			return (new ShoppingCartDAO()).GetAll();
		}

		public string Insert(ShoppingCartDTO shoppingcart)
		{
			return (new ShoppingCartDAO()).Insert(shoppingcart);
		}

		public void UpdateByID(ShoppingCartDTO shoppingcart)
		{
			(new ShoppingCartDAO()).UpdateByID(shoppingcart);
		}

		public void DeleteByID(string id)
		{
			(new ShoppingCartDAO()).DeleteByID(id);
		}
	}
}

